package com.ZeroCarbon.prefix;

/**
 * redis的key记录集合
 *
 * @since 2024-10-11
 */
public class RedisKey {

    /**
     * redis的key前缀
     */
    private static final String prefix = "zerocarbon:";

    /**
     * RefreshToken
     */
    public static final String REFRESH = prefix + "refresh_token:";

    /**
     * 已注册帐号
     */
    public static final String STRING = prefix + "signed:";

    /**
     * 已登录帐号
     */
    public static final String LOGIN = prefix + "login:";

    /**
     * 点赞帖子
     */
    public static final String THUMB_POST = prefix + "thumb:post:";

    /**
     * 收藏评论
     */
    public static final String COLLECT_POST = prefix + "collect:post:";

    /**
     * 点赞评论
     */
    public static final String THUMB_COMMENT = prefix + "thumb:comment:";

    /**
     * 点赞回复
     */
    public static final String THUMB_REPLY = prefix + "thumb:reply:";

    /**
     * 历史记录
     */
    public static final String HISTORY_POST = prefix + "history:";

    /**
     * 充值验证
     */
    public static final String BALANCE_VERIFICATION = prefix + "balance:";
}
